package com.csap.framework.oauth2.request;

import com.csap.framework.annotation.apidoc.ApiModel;
import com.csap.framework.annotation.apidoc.ApiModelProperty;
import com.csap.framework.oauth2.BaseRequest;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotEmpty;

/**
 * 手机号登陆
 *
 * @author yangchengfu
 * @dataTime 2021年-07月-30日 15:48:00
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Accessors(chain = true)
@ApiModel(value = "手机号登陆")
public class MobileLoginRequest extends BaseRequest<MobileLoginRequest> {
    @ApiModelProperty(description = "手机号码", value = "手机号码", forceReq = true, required = true)
    @NotEmpty(message = "手机号码不能为空")
    private String mobile;
}
